package org.example.javase.cloneable;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.RequiredArgsConstructor;

/**
 * @ClassName User
 * @Description TODO
 * @Author LB
 * @Date 2021/5/14 10:47
 * @Version 1.0
 **/
@Data
public class User implements Cloneable {
    private String username;
    private String password;
    private String name;
    private final String type = "username";

    @Override
    protected Object clone() throws CloneNotSupportedException {
        return super.clone();
    }
}
